import java.util.HashMap;
import java.util.Map;

/**
 * @author fun.pengzh
 * @class PACKAGE_NAME.UserDAO
 * @desc
 * @since 2021-09-22
 */
public class UserDAO {
    private static Map<String, String> userInfo = new HashMap<>();

    static {
        userInfo.put("a", "a{信息......}");
        userInfo.put("张三", "张三{信息......}");
        userInfo.put("李四", "李四{信息......}");
        userInfo.put("b", "b{信息......}");
    }

    public String queryUserInfo(String name) {
        return userInfo.get(name);
    }
}
